home *** CD-ROM | disk | FTP | other *** search
- #include <string.h>
-
- /************************************************************************/
-
- #undef strcmp
-
- #ifdef __SASC_510
-
- int strcmp(const char *s1, const char *s2)
-
- {
- return __builtin_strcmp(s1,s2);
- }
-
- #else
-
- int strcmp(const char *s1,const char *s2)
-
- {
- int r;
-
- while (!(r=*s1++-*s2) && *s2++)
- ;
-
- return r;
- }
-
- #endif
-